﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace PcProject.Domain.Models.Entities
{
    /// <summary>
    /// 商品分类表
    /// </summary>
    [Table("ProductCategory")]
    public class ProductCategory
    {
        [Key]
        public int CateId { get; set; }
        /// <summary>
        /// 分类名称
        /// </summary>
        [StringLength(50)]
        public string CateName { get; set; }
        /// <summary>
        /// 父级ID
        /// </summary>
        public int ParentId { get; set; }
        /// <summary>
        /// 排序
        /// </summary>
        public int Sorts { get; set; }
        /// <summary>
        /// 添加时间
        /// </summary>
        public DateTime AddTimes { get; set; }

    }
}
